package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_disperse_client_action", desc = "送财客户端行为日志", autoSave = true, uploadCk = true)
public class LogDisperseClientAction extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "散财编号")
    private long disperseId;
    @FieldTypeAnnotation(desc = "动作类型（0：接收；1：领取；2：跳过；3：过期；4：玩家设置不接收；5：正在引导中；6：散财未初始化）")
    private int actionType;
    @FieldTypeAnnotation(desc = "动作时间")
    private long actionTime;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogDisperseClientAction(long userId, long disperseId, int actionType, long actionTime, String reward) {
        this.userId = userId;
        this.disperseId = disperseId;
        this.actionType = actionType;
        this.actionTime = actionTime;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
